<template>
  <!-- 搜索组件 -->
  <div class="SeacrchJob-container">
    <!-- 图片信息 -->
    <div>
      <!-- 找工作就来MyJob -->
      图片
    </div>
    <!-- 搜索框 -->
    <div class="input-box">
      <el-row :gutter="20">
        <el-col :span="12" :offset="6">
          <el-input placeholder="搜索职位" v-model="input">
            <!-- 放大镜图标 -->
            <i slot="suffix" class="el-input__icon el-icon-search"></i>

            <!-- 前置职位信息 -->
            <el-dropdown slot="prefix">
              <span class="el-dropdown-link"> 职位<i class="el-icon-arrow-down el-icon--right"></i> </span>
              <el-dropdown-menu slot="dropdown">
                <el-dropdown-item>黄金糕</el-dropdown-item>
                <el-dropdown-item>狮子头</el-dropdown-item>
                <el-dropdown-item>螺蛳粉</el-dropdown-item>
                <el-dropdown-item disabled>双皮奶</el-dropdown-item>
                <el-dropdown-item divided>蚵仔煎</el-dropdown-item>
              </el-dropdown-menu>
            </el-dropdown>
          </el-input>
        </el-col>
      </el-row>
    </div>

    <!-- 热门职位 -->
    <div class="hot-jobs">
      <el-row :gutter="20">
        <el-col :span="12" :offset="6">
          <el-tag>热门职位:</el-tag>
          <el-tag>标签一</el-tag>
          <el-tag>标签一</el-tag>
          <el-tag>标签一</el-tag>
          <el-tag>标签一</el-tag>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: 'SearchJob',
  data() {
    return {
      input: ''
    }
  }
}
</script>

<style lang="less" scoped>
.SeacrchJob-container {
  background-color: #b3d8ff;
  padding: 10px 0 10px 0;
  text-align: center;
  .input-box {
    padding: 20px 0 20px 0;
    .el-input {
      line-height: 50px;
    }
    /deep/ .el-input--prefix .el-input__inner {
      padding-left: 60px;
      height: 50px;
    }
  }
  .el-tag {
    margin: 0 10px 0 10px;
  }
}
</style>
